﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Woobao.VO;

namespace Woobao.Servico
    //INTERFACE, SOMENTE MOSTRANDO O QUE TEM
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IUsuarioService" in both code and config file together.
    [ServiceContract]
    public interface IUsuarioService
    {
        [OperationContract]
        VOUsuario Logar(string email, string senha);

        [OperationContract]
        void Inserir(VOUsuario obj);

        [OperationContract]
        List<VOUsuario> Consultar(VOUsuario filtro);

        [OperationContract]
        void Atualizar(VOUsuario obj);

        [OperationContract]
        void Excluir(int codigo);
    }
}
